package com.saltlux.tdd.algorithm;

public class Swap {
	
	public void swap(int[] target, int from, int to) {
		int temp = target[to];
		target[to] = target[from];
		target[from] = temp;
	}
	public void swap(Object[] target, int from, int to) {
		Object temp = target[to];
		target[to] = target[from];
		target[from] = temp;
	}

}
